/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package task20;

import java.awt.Frame;
import java.awt.Panel;

/**
 *
 * @author Administrator
 */
public class PanelDemo01 extends Panel {

    public static void main(String[] args) {
        PanelDemo01 p = new PanelDemo01();
        Frame f = new Frame("正在测试Frame中的panel");
        f.setSize(300, 500);
        f.setVisible(true);
        
    }
    
    
}
